package cn.ssm.biz;

import org.springframework.web.bind.annotation.RequestParam;

import cn.ssm.pojo.User;
import cn.ssm.pojo.Userrole;

public interface UserroleBiz {

	/**
	 * 添加userrole
	 */
	public int AddUserRole(Userrole ur);
	/*
	 * 查询逆序的top1ID
	 * */
	public User selectUsersTopId();
	/*
	 *修改用户信息 
	 * */
	public int UpdateRole(@RequestParam("upUId")int upUId,@RequestParam("upRoleId")int upRoleId);

	
	/*
	 *通过Id查询UserRole信息 
	 * */
	public Userrole findUserRoleByid(int id);
	
	
}
